<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>

<div class="user-form">
    <?php $form = ActiveForm::begin(); ?>
    <?=$form->field($model,'username')->textInput()?>
    <?=$form->field($model,'password')->textInput()?>
    <?=$form->field($model,'userImg')->textInput()?>
    <div class="form-group">
        <?=Html::submitButton('Save',['class'=>'btn btn-success'])?>
    </div>
    <?php ActiveForm::end(); ?>
</div>
